﻿namespace JY.Wpf.Core.Events
{
    /// <summary>
    /// 登录事件模型
    /// </summary>
    public class LoginEvent
    {
        /// <summary>
        /// 构造器
        /// </summary>
        /// <param name="userName">用户名</param>
        /// <param name="password">密码</param>
        public LoginEvent(string userName,string password)
        {
            this.UserName = userName;
            this.Password = password;
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
    }
}
